for(let o=0;o<$(".fenlei li").length;o++)$(".fenlei li").eq(o).mouseover(function(){for(let o=0;o<$(".fenlei li").length;o++)$(".erji").eq(o).css({display:"none"});$(".erji").eq(o).css({display:"block"})});$.get("goodsAndShoppingCart/getGoodsList.php",{typeId:"002"}).then(function(o){let e=JSON.parse(o);console.log(e),e.forEach(o=>{o=$(`
        <a href="javascript:;">
                    <img src=${o.goodsImg} alt="">
                    <p>${o.goodsName}</p>
        </a>
        `);$(".baozhi").append(o)})}),$.get("goodsAndShoppingCart/getGoodsList.php",{typeId:"003"}).then(function(o){let e=JSON.parse(o);console.log(e),e.forEach(o=>{o=$(`
        <a href="javascript:;">
                    <img src=${o.goodsImg} alt="">
                    <p>${o.goodsName}</p>
        </a>
        `);$(".xiezi").append(o)})}),$.get("goodsAndShoppingCart/getGoodsList.php",{typeId:"004"}).then(function(o){let e=JSON.parse(o);console.log(e),e.forEach(o=>{o=$(`
        <a href="javascript:;">
                    <img src=${o.goodsImg} alt="">
                    <p>${o.goodsName}</p>
        </a>
        `);$(".hufu").append(o)})}),$.get("goodsAndShoppingCart/getGoodsList.php",{typeId:"005"}).then(function(o){let e=JSON.parse(o);console.log(e),e.forEach(o=>{o=$(`
        <a href="javascript:;">
                    <img src=${o.goodsImg} alt="">
                    <p>${o.goodsName}</p>
        </a>
        `);$(".meizhuang").append(o)})}),$.get("goodsAndShoppingCart/getGoodsList.php",{typeId:"006"}).then(function(o){let e=JSON.parse(o);console.log(e),e.forEach(o=>{o=$(`
        <a href="javascript:;">
                    <img src=${o.goodsImg} alt="">
                    <p>${o.goodsName}</p>
        </a>
        `);$(".jiankang").append(o)})}),$.get("goodsAndShoppingCart/getGoodsList.php",{typeId:"007"}).then(function(o){let e=JSON.parse(o);console.log(e),e.forEach(o=>{o=$(`
        <a href="javascript:;">
                    <img src=${o.goodsImg} alt="">
                    <p>${o.goodsName}</p>
        </a>
        `);$(".jianfei").append(o)})});